Platform Explorer / Nuxeo Platform 2023.10

Operation Video.Slice (SliceVideo the video for a given duration and startAt time.)

Description

SliceVideo the input blob starting at startAt, for a certain duration. The duration and startAt arguments are optional, but not simultaneously. A specific converter can be used.
Operation id Video.Slice
Category Conversion
Label SliceVideo the video for a given duration and startAt time.
Requires
Since

Parameters

Name Description Type Required Default value
duration string no  
encode boolean no true 
startAt string no  
xpath string no  

Signature

Inputs blob, bloblist, document, documents
Outputs blob, bloblist, blob, bloblist

Implementation Information

Implementation Class Class: org.nuxeo.ecm.platform.video.tools.operations.SliceVideo
Contributing Component org.nuxeo.ecm.video.tools.operations

JSON Definition

{
  "id" : "Video.Slice",
  "label" : "SliceVideo the video for a given duration and startAt time.",
  "category" : "Conversion",
  "requires" : null,
  "description" : "SliceVideo the input blob starting at startAt, for a certain duration. The duration and startAt arguments are optional, but not simultaneously. A specific converter can be used.",
  "url" : "Video.Slice",
  "signature" : [ "blob", "blob", "bloblist", "bloblist", "document", "blob", "documents", "bloblist" ],
  "params" : [ {
    "name" : "duration",
    "description" : null,
    "type" : "string",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "encode",
    "description" : null,
    "type" : "boolean",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ "true" ]
  }, {
    "name" : "startAt",
    "description" : null,
    "type" : "string",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "xpath",
    "description" : null,
    "type" : "string",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  } ]
}